FROM registry.cn-hangzhou.aliyuncs.com/senguo-common/python:3.7-alpine-ops

WORKDIR /app

COPY requirements.txt /app

RUN pip install -r requirements.txt && \
    rm -fr /root/.cache

COPY . /app

CMD ['python', 'app.py']